let div = document.createElement('div')
let str
for (let key in div) {
  str += key + " "
}
console.log(str)